{__NOLAYOUT__}
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title></title>
	{include file="public/script" /}
</head>
<body class="resiter_body">
<div class="sectionH  mui-clearfix">
	<header class="mui-bar mui-bar-nav" style="">
		<a class="mui-icon  mui-pull-left" href="javascript:history.back(-1)" style=""><img src="__STATIC__/www/images/register_nav_icon_back.png"/></a>
		<h1 class="mui-title">忘记密码</h1>
		<!--<a class="mui-icon mui-pull-right right1" href="assets-1.html"><img src="images/icon_setting.png"/></a>-->
	</header>
</div>
<div class="kong1"></div>
<div class="forget_section1">

	<div class="fom">
		<form class="form" action="" method="post">
			<div class="f1">
				<div class="container_1">
					<img src="__STATIC__/www/images/register_icon_phone.png" class="img1"/>
					<input type="text" class="mobile" name="mobile"  value="" placeholder="请填写手机号"/>
				</div>
			</div>
			<div class="f1">
				<div class="container_1">
					<img src="__STATIC__/www/images/register_icon_code.png" class="img1"/>
					<input type="text" class="captcha" name="captcha"  value="" placeholder="请填写验证码"/>
					<span class="forget_btn">获取验证码</span>
				</div>
			</div>
			<div class="f1">
				<div class="container_1">
					<img src="__STATIC__/www/images/register_icon_pw.png" class="img1"/>
					<input type="password" class="newpassword" name="newpassword"  value="" placeholder="请填写密码"/>
					<img src="__STATIC__/www/images/register_icon_view_open.png" class="forget_yan"/>
					<img src="__STATIC__/www/images/register_icon_view_close.png" class="forget_yan forget_yan1"/>
				</div>
			</div>
			<div class="f1">
				<div class="container_1">
					<img src="__STATIC__/www/images/register_icon_pw.png" class="img1"/>
					<input type="password" class="confirmpassword" name="confirmpassword"  value="" placeholder="确认密码"/>
					<img src="__STATIC__/www/images/register_icon_view_open.png" class="forget_yan "/>
					<img src="__STATIC__/www/images/register_icon_view_close.png" class="forget_yan forget_yan1"/>
				</div>
			</div>
			<div class="sub">
				<div class="container_1">
					<input class="sub" type="button" name=""  value="确定" />
				</div>
			</div>
		</form>
	</div>

</div>
</body>
<script>
    $('.sub').click(function () {
        if($('.mobile').val()==''){mui.alert('手机号不可为空！');return false;}

        var myreg=/^[1][3,4,5,7,8,9][0-9]{9}$/;
        if (!myreg.test($('.mobile').val())) {
            mui.alert('请输入正确的手机号！');return false;
        }
        if($('.captcha').val()==''){mui.alert('验证码不可为空！');return false;}
        if($('.newpassword').val()==''){mui.alert('密码不可为空！');return false;}
        if($('.confirmpassword').val()==''){mui.alert('请填写确认密码！');return false;}
        if($('.newpassword').val().length<6){mui.alert('密码长度不能小于6位！');return false;}
        if($('.newpassword').val()!=$('.confirmpassword').val()){mui.alert('两次填写的密码不一致！');return false;}

        $('.form').submit();

    });
</script>
</html>